<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Insert title here</title>
</head>
<body>
<table class="easyui-datagrid" data-options="
	url:'teacher/page',
	fitColumns:true,
	fit:true,
	idField:'id',
	pagination:true,
	singleSelect:true,
	pageSize:30,
	pageList:[30,50,100],
	dialog: {
		create:{
			width:400 ,
			height: 350 ,
			href: 'teacher/edit' ,
			action: 'teacher/save'
		},
		update: {
			width:400,
			height:400,
			href: 'teacher/edit' ,
			action: 'teacher/save'
		},
		search: {
			width:400 ,
			height: 400 ,
			href: 'teacher/search'
		},
		remove: {
			href: 'teacher/delete'
		}
		
	},
	toolbar:[
		$.crudgrid.buttons.create,
		'-',$.crudgrid.buttons.update,
		'-',$.crudgrid.buttons.remove,
		'-',$.crudgrid.buttons.search,
		'-',$.crudgrid.buttons.refresh,'-']
">
	<thead>
		<tr>
			<th width="100" data-options="field:'id'">ID</th>
			<th width="100" data-options="field:'name'">姓名</th>
			<th width="100" data-options="field:'job'">职务</th>
		</tr>
	</thead>
</table>
</body>
</html>